package com.example.springboottest.example.serialize;

import java.io.Serializable;

public class JavaSerialize implements Serializable {
    private String name;
    private String address;
    private Integer id;
    private Integer salary;
    private Integer age;

    public JavaSerialize(String name, String address, Integer id, Integer salary, Integer age) {
        super();
        this.name = name;
        this.address = address;
        this.id = id;
        this.salary = salary;
        this.age = age;
    }

    @Override
    public String toString() {
        return "JavaSerialize:   " + name + "    " + address + "    "
                + id + "    " + salary + "    " + age;
    }
}